package com.alm.handle.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("alm_getway_dev_current_data")
public class AlmGetWayDevCurrentData {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "device_id")
    private String deviceId;

    @TableField(value = "relay_status")
    private Integer relayStatus;


    @TableField(value = "work_status")
    private Integer workStatus;



    @TableField(value = "electric_current")
    private BigDecimal eleCurrent;


    @TableField(value = "voltage")
    private BigDecimal voltage;

    @TableField(value = "power_factor")
    private BigDecimal powerFactor;

    @TableField(value = "active_power")
    private BigDecimal activePower;

    @TableField(value = "parent_mac")
    private String parentMac;
}
